package com.quanyan.user.model.db;

import java.io.Serializable;
import java.util.Date;

public class TbUserTreasureBox implements Serializable {
    private Integer id;

    //uid
    private Integer uid;

    //宝箱id
    private Integer treasureBoxId;

    //状态 0 未获得 1 未领取 2 已领取
    private Byte status;

    //宝箱等级 1 2 3
    private Byte level;

    //已经领取日常任务蛋壳的数量
    private Long ruleEggShells;

    private Date createTime;

    private Date updateTime;

    //0 正常1 删除
    private Byte isDelete;

    static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getTreasureBoxId() {
        return treasureBoxId;
    }

    public void setTreasureBoxId(Integer treasureBoxId) {
        this.treasureBoxId = treasureBoxId;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Byte getLevel() {
        return level;
    }

    public void setLevel(Byte level) {
        this.level = level;
    }

    public Long getRuleEggShells() {
        return ruleEggShells;
    }

    public void setRuleEggShells(Long ruleEggShells) {
        this.ruleEggShells = ruleEggShells;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Byte getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Byte isDelete) {
        this.isDelete = isDelete;
    }

    @Override
    public String toString() {
        return "TbUserTreasureBox{" +
                "id=" + id +
                ", uid=" + uid +
                ", treasureBoxId=" + treasureBoxId +
                ", status=" + status +
                ", level=" + level +
                ", ruleEggShells=" + ruleEggShells +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", isDelete=" + isDelete +
                '}';
    }
}